import request from "../../utils/request";

/**
 * 获取应用服务器环境信息
 * @returns {AxiosPromise}
 */
export function getServerInfo(){
    return request({
        url: '/monitor/serverInfo',
        method: 'get'
    })
}

/**
 * 获取redis缓存服务信息
 * @returns {AxiosPromise}
 */
export function getRedisCacheInfo(){
    return request({
        url: '/monitor/redisCacheInfo',
        method: 'get'
    })
}